Jeremy Price
|
afd9282785
|
Update remaining comments from snipe/snipe-it to grokability/snipe-it
|
2025-04-03 12:07:05 -07:00 |
|
snipe
|
40ae5d421b
|
Updated maxLoginAttempts and throttle duration
Signed-off-by: snipe <snipe@snipe.net>
|
2025-04-01 14:36:45 +01:00 |
|
snipe
|
23ce54e80c
|
Make sure we’re saving the last_login in 2FA auths
Signed-off-by: snipe <snipe@snipe.net>
|
2025-02-27 16:17:59 +00:00 |
|
snipe
|
4253acad4c
|
Prevent passing an array as login
Signed-off-by: snipe <snipe@snipe.net>
|
2024-08-18 04:51:36 +01:00 |
|
snipe
|
ae9085b11f
|
Modernize use statements, switch to auth()
Signed-off-by: snipe <snipe@snipe.net>
|
2024-07-04 20:49:22 +01:00 |
|
snipe
|
9a0db72eb4
|
More strings
Signed-off-by: snipe <snipe@snipe.net>
|
2024-06-20 15:40:38 +01:00 |
|
snipe
|
e11a42cf68
|
Re-use login string
Signed-off-by: snipe <snipe@snipe.net>
|
2024-06-20 15:32:00 +01:00 |
|
snipe
|
9594596b8a
|
Fixed another hard-coded string
Signed-off-by: snipe <snipe@snipe.net>
|
2024-06-20 15:22:27 +01:00 |
|
snipe
|
df1cef59d5
|
Fixes path for redirect response
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-29 18:01:40 +01:00 |
|
snipe
|
fb233c0aa4
|
Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
|
2024-05-29 12:38:15 +01:00 |
|
Brady Wetherington
|
81b8243e1d
|
Enforce SAML assertion ID uniqueness and notValidOnOrAfter attribute
|
2024-01-25 19:53:24 +00:00 |
|
snipe
|
45d9119733
|
Removed debugging/comments
Signed-off-by: snipe <snipe@snipe.net>
|
2023-11-22 22:32:34 +00:00 |
|
snipe
|
8481768c3d
|
Save quietly for login methods
Signed-off-by: snipe <snipe@snipe.net>
|
2023-11-22 21:42:21 +00:00 |
|
snipe
|
b54e7dc3ee
|
Fixed #13336 - Save unhashed password if no password provided
Signed-off-by: snipe <snipe@snipe.net>
|
2023-07-19 17:44:40 +01:00 |
|
snipe
|
1fe0bfe17e
|
Removed extra logging case that was very noisy
Signed-off-by: snipe <snipe@snipe.net>
|
2022-11-28 19:27:42 -08:00 |
|
Ivan Nieto Vivanco
|
3aff97ace1
|
Remove the previous user hashed password
|
2022-09-06 18:43:35 -05:00 |
|
snipe
|
ee4f355e49
|
Changed logging to debug
Signed-off-by: snipe <snipe@snipe.net>
|
2022-07-05 17:58:45 -07:00 |
|
snipe
|
7f8fc7add9
|
Make SAML debugging less noisy
Signed-off-by: snipe <snipe@snipe.net>
|
2022-06-21 17:57:17 -07:00 |
|
Brady Wetherington
|
b4a0d33ba8
|
Reduce logging further; we know the main error condition now
|
2022-05-17 19:57:42 -07:00 |
|
Brady Wetherington
|
6c86a28d18
|
Pass the password along directly instead of retrieving it from the Input or Request
|
2022-05-16 10:58:27 -07:00 |
|
Johnson Yi
|
4401dab8d6
|
fix saml slo for logout
|
2022-05-14 11:59:34 +00:00 |
|
Brady Wetherington
|
0ddb0f2c81
|
Switch the barcode backend to SVG, and fix the two-factor middleware
|
2022-05-13 14:22:27 -07:00 |
|
snipe
|
780222d372
|
Merge remote-tracking branch 'origin/master' into develop
Signed-off-by: snipe <snipe@snipe.net>
# Conflicts:
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Auth/LoginController.php
# resources/views/users/print.blade.php
|
2022-05-10 17:26:26 -07:00 |
|
snipe
|
4fccf4ddc4
|
Few more log lines
Signed-off-by: snipe <snipe@snipe.net>
|
2022-05-10 12:27:42 -07:00 |
|
snipe
|
f4e737eaf3
|
More SAML debugging
Signed-off-by: snipe <snipe@snipe.net>
|
2022-05-10 12:14:22 -07:00 |
|
snipe
|
f572eaa421
|
Added debugging for SAML login
Signed-off-by: snipe <snipe@snipe.net>
|
2022-05-10 12:07:07 -07:00 |
|
snipe
|
784bf4d784
|
Merge remote-tracking branch 'origin/master' into develop
Signed-off-by: snipe <snipe@snipe.net>
# Conflicts:
# .github/ISSUE_TEMPLATE/feature_request.yml
# app/Http/Controllers/CustomFieldsetsController.php
# app/Http/Controllers/ReportsController.php
# config/version.php
# package-lock.json
# package.json
# public/css/dist/all.css
# public/css/dist/bootstrap-table.css
# public/js/dist/bootstrap-table.js
# public/mix-manifest.json
# resources/views/users/print.blade.php
# webpack.mix.js
|
2022-05-06 01:52:43 -07:00 |
|
snipe
|
b20921cb62
|
Removed duplicate session regenerate
Signed-off-by: snipe <snipe@snipe.net>
|
2022-05-05 21:35:05 -07:00 |
|
Johnson Yi
|
92fe1287ea
|
Do not saml login automatically after normal logout
|
2022-04-29 15:35:08 +00:00 |
|
snipe
|
b876d0abb0
|
Merge remote-tracking branch 'origin/master' into develop
Signed-off-by: snipe <snipe@snipe.net>
# Conflicts:
# .env.example
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Kernel.php
# app/Http/Transformers/ActionlogsTransformer.php
# app/Importer/AssetImporter.php
# app/Models/Accessory.php
# app/Models/Consumable.php
# app/Presenters/AccessoryPresenter.php
# app/Presenters/ComponentPresenter.php
# app/Presenters/ConsumablePresenter.php
# app/Providers/AuthServiceProvider.php
# composer.json
# composer.lock
# config/app.php
# config/cors.php
# config/version.php
# package-lock.json
# public/js/build/app.js
# public/js/build/app.js.LICENSE.txt
# public/js/dist/all.js
# public/mix-manifest.json
# resources/views/accessories/view.blade.php
# resources/views/consumables/view.blade.php
# resources/views/settings/saml.blade.php
# routes/api.php
|
2022-03-03 21:59:38 -08:00 |
|
snipe
|
42fcd29200
|
Fixed #10436 on master, applies #10449
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-22 21:06:54 -08:00 |
|
snipe
|
dd5f812d88
|
Merge remote-tracking branch 'origin/master' into develop
Signed-off-by: snipe <snipe@snipe.net>
# Conflicts:
# .all-contributorsrc
# README.md
# app/Console/Commands/FixDoubleEscape.php
# app/Console/Commands/LdapSync.php
# app/Exceptions/Handler.php
# app/Http/Controllers/Api/AssetMaintenancesController.php
# app/Http/Controllers/Api/AssetModelsController.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/CategoriesController.php
# app/Http/Controllers/Api/CompaniesController.php
# app/Http/Controllers/Api/DepartmentsController.php
# app/Http/Controllers/Api/LicensesController.php
# app/Http/Controllers/Api/LocationsController.php
# app/Http/Controllers/Api/ManufacturersController.php
# app/Http/Controllers/Api/SettingsController.php
# app/Http/Controllers/Api/SuppliersController.php
# app/Http/Controllers/AssetModelsController.php
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Controllers/CustomFieldsController.php
# app/Http/Controllers/SettingsController.php
# app/Models/Loggable.php
# app/Providers/AuthServiceProvider.php
# config/version.php
# database/migrations/2014_11_04_231416_update_group_field_for_reporting.php
# database/migrations/2015_11_08_222305_add_ldap_fields_to_settings.php
# package-lock.json
# package.json
# public/js/build/app.js
# public/js/dist/all.js
# public/mix-manifest.json
# resources/assets/js/components/forms/asset-models/fieldset-default-values.vue
# resources/views/hardware/view.blade.php
|
2022-02-20 13:29:12 -08:00 |
|
snipe
|
f878e0ad66
|
Fixes 2FA cookie -> user issue
Signed-off-by: snipe <snipe@snipe.net>
|
2022-02-15 18:29:23 -08:00 |
|
Alex Janes
|
edef640d35
|
Merge branch 'develop' into features/lock_logins_to_saml
|
2022-01-11 09:05:14 -05:00 |
|
Alex Janes
|
a68ec8bb57
|
Update LoginController.php
Updated if statements to match convention exactly.
|
2021-12-17 18:52:42 -05:00 |
|
Alex Janes
|
d99db5c63b
|
bug fix and formatting fix
|
2021-12-16 19:04:37 -05:00 |
|
Alex Janes
|
6898119891
|
Replaced env() with config() to check environment variables
Made the app.php description for 'REQUIRE_SAML' a bit more... descriptive.
|
2021-12-16 16:56:39 -05:00 |
|
Alex Janes
|
a6116a1b15
|
If SAML required, don't accept login form post.
|
2021-12-16 14:33:25 -05:00 |
|
Alex Janes
|
3c8d70c5fb
|
Add option to environment to require SAML for a more secure installation.
|
2021-12-16 11:44:07 -05:00 |
|
Brady Wetherington
|
864cc4f8d5
|
Fix FIXME's by downgrading them to TODO's :)
|
2021-11-10 11:37:10 -08:00 |
|
Brady Wetherington
|
a58c5ce27f
|
Better documentation, disable AdLdap2-based "Add domain" setting
|
2021-11-08 17:11:47 -08:00 |
|
Brady Wetherington
|
b0417e5bd7
|
Finish pulling out the AdLdap2-based LDAP remnants that were still in the system
|
2021-11-03 15:22:06 -07:00 |
|
Steven Daniele
|
efc644c960
|
support apache REDIRECT_* for remote user login
|
2021-10-28 14:23:38 -04:00 |
|
Laravel Shift
|
934afa036f
|
Adopt Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.
You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.
[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
|
2021-06-10 20:15:52 +00:00 |
|
kcoyo
|
cee6f0d579
|
Update LoginController.php
Fixed #9607 - Sessions expire for SAML/RemoteUser/LDAP
|
2021-05-25 16:37:34 -07:00 |
|
Brady Wetherington
|
72a813f23d
|
This fixes the controller signature error people are getting with LDAP logins (#9466)
|
2021-04-21 10:23:32 -07:00 |
|
Brady Wetherington
|
2a28f5e66c
|
(Maybe?) Fixes the problem where we always need LDAP enabled (#9321)
* I *think* this fixes the problem where we need LDAP even if we aren't using it?
* Pull the LdapAd dependency out of the AuthController constructor
|
2021-04-20 14:53:47 -07:00 |
|
snipe
|
86fef3f40a
|
Set SAML errors to warning instead of error
Signed-off-by: snipe <snipe@snipe.net>
|
2021-03-17 22:30:26 -07:00 |
|
Giuseppe Iannello
|
5edbb4b229
|
Support Google Cloud IAP (#8768)
Following up on 7c2da81700 ,
this extends the logic, adding support for Google Cloud IAP.
|
2021-02-03 11:59:55 -08:00 |
|
Ivan Nieto
|
79549dbfb9
|
Use the correct env variables in config/auth.php file. (#9048)
|
2021-01-26 12:04:41 -08:00 |
|