summaryrefslogtreecommitdiffstats
path: root/app/authentication.go
Commit message (Collapse)AuthorAgeFilesLines
* ldap: Add own ldap authenticationsplineAlexander Sulfrian2020-01-071-2/+1
|
* Migrate to idiomatic error handling app/authentication.go (#9411)Jesús Espino2018-09-241-27/+35
|
* Improving token lookup. (#9436)Christopher Speller2018-09-201-5/+7
|
* remove license check when enforcing password requirements (#8840)Saturnino Abril2018-05-231-4/+1
| | | Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-061-3/+4
|
* ABC-179: check email verification last (#8172)Jesse Hallam2018-02-051-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ABC-179: check email verification last This change changes the authentication checks to be: * "preflight checks" ** mfa ** not disabled ** login attempts * password * "postflight checks" ** email verified Checking whether the email is verified or not last avoids the weird edge case where entering any bogus password for an account with an unverified email shows a message about verifying the email and offering to resend. * fix invalid unit test assertion Client.CreateUser returns a user whose password has been sanitized. Adopt the pattern in the previous assertions to use a new variable name and test the password on the original model.User object. This didn't expose any underlying broken behaviour, but the test wouldn't have caught it if it had regressed. Also fix a minor typo.
* User based rate limiting (#8152)Christopher Speller2018-01-311-0/+47
|
* Refactor password validation and config defaults (#7859)Chris2017-11-201-0/+7
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* Remove more global refs / state (#7723)Chris2017-10-261-13/+6
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Reduce utils.Cfg references (#7650)Chris2017-10-181-2/+2
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* remove einterface gets (#7455)Chris2017-09-191-16/+12
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-9/+9
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-301-1/+1
|
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-2/+2
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Refactor switching login type code into app layer and add v4 endpoint (#6000)Joram Wilander2017-04-101-12/+9
| | | | | | * Refactor switching login type code into app layer and add v4 endpoint * Fix unit test
* Simplify code (#5452)Josta Yee2017-02-171-1/+1
| | | https://github.com/mattermost/platform/blob/master/app/authentication.go#L149 has compared `user.AuthService` with `model.USER_AUTH_SERVICE_LDAP`, so this check is useless here.
* Implement PUT /users/{user_id}/password endpoint for APIv4 (#5243)Joram Wilander2017-02-071-4/+4
|
* Implement APIv4 infrastructure (#5191)Joram Wilander2017-01-301-0/+177
* Implement APIv4 infrastructure * Update parameter requirement functions per feedback