You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* For descriptions, check error code existance in descriptions rather than in titles
* Prepare error code constants
* Propagate error codes through the codebase
* Make error codes more extendable
* Fix spell check errors from CICD
* Fix phpcs errors
* Move from static to instance methods
---------
Co-authored-by: Marko Ivančić <marko.ivancic@srce.hr>
Co-authored-by: Tim van Dijen <tvdijen@gmail.com>
Copy file name to clipboardExpand all lines: docs/simplesamlphp-authsource.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The only function you need to implement is the `login($username, $password)`-fun
37
37
This function receives the username and password the user entered, and is expected to return the attributes of that user.
38
38
If the username or password is incorrect, it should throw an error saying so:
39
39
40
-
throw new \SimpleSAML\Error\Error('WRONGUSERPASS');
40
+
throw new \SimpleSAML\Error\Error(\SimpleSAML\Error\ErrorCodes::WRONGUSERPASS);
41
41
42
42
"[Implementing custom username/password authentication](./simplesamlphp-customauth)" describes how to implement username/password authentication using that base class.
0 commit comments