Skip to content
Snippets Groups Projects
Commit 372f4704 authored by Olav Morken's avatar Olav Morken
Browse files

Error_NoState: Pass proper error code to constructor.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2739 44740490-163a-0410-bde0-09ae8108e29a
parent 7745a955
No related branches found
No related tags found
No related merge requests found
......@@ -199,5 +199,11 @@
},
"descr_USERABORTED": {
"en": "The authentication was aborted by the user"
},
"title_NOSTATE": {
"en": "State information lost"
},
"descr_NOSTATE": {
"en": "State information lost, and no way to restart the request"
}
}
......@@ -12,11 +12,9 @@ class SimpleSAML_Error_NoState extends SimpleSAML_Error_Error {
/**
* Create the error
*
* @param string $reason Optional description of why the given page could not be found.
*/
public function __construct() {
parent::__construct('State information lost, and no way to restart the request.');
parent::__construct('NOSTATE');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment