File tree Expand file tree Collapse file tree 4 files changed +11
-20
lines changed
Expand file tree Collapse file tree 4 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 44
55namespace SimpleSAML \Module \sqlauth \Auth \Source ;
66
7- use SimpleSAML \Assert \Assert ;
8- use SimpleSAML \Error ;
9- use SimpleSAML \Logger ;
10- use SimpleSAML \Module \sqlauth \Auth \Source \SQL ;
11-
12- use function array_key_exists ;
13- use function array_keys ;
14- use function count ;
15- use function implode ;
16- use function is_null ;
17- use function password_verify ;
18- use function sprintf ;
19-
207/**
218 * Simple SQL authentication source
229 *
4431 * @package SimpleSAMLphp
4532 */
4633
47- class PasswordVerify extends PasswordVerify1Compat {}
34+ class PasswordVerify extends PasswordVerify1Compat
35+ {
36+ }
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ class PasswordVerify1Compat extends SQL2
2323 public function __construct (array $ info , array $ config )
2424 {
2525 Logger::warning (
26- 'The sqlauth:PasswordVerify and sqlauth:PasswordVerify1Compat authentication sources are deprecated. ' .
27- 'Please migrate to sqlauth:SQL2 with the new configuration format. '
28- );
26+ 'The sqlauth:PasswordVerify and sqlauth:PasswordVerify1Compat authentication sources are deprecated. ' .
27+ 'Please migrate to sqlauth:SQL2 with the new configuration format. ' ,
28+ );
2929
3030 /* Transform PasswordVerify (version 1) config to SQL2 config
3131 * Version 1 supported only one database, but multiple queries. The first query was defined
Original file line number Diff line number Diff line change 1010 * @package SimpleSAMLphp
1111 */
1212
13- class SQL extends SQL1Compat {}
13+ class SQL extends SQL1Compat
14+ {
15+ }
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ class SQL1Compat extends SQL2
2323 public function __construct (array $ info , array $ config )
2424 {
2525 Logger::warning (
26- 'The sqlauth:SQL and sqlauth:SQL1Compat authentication sources are deprecated. ' .
27- 'Please migrate to sqlauth:SQL2 with the new configuration format. '
26+ 'The sqlauth:SQL and sqlauth:SQL1Compat authentication sources are deprecated. ' .
27+ 'Please migrate to sqlauth:SQL2 with the new configuration format. ' ,
2828 );
2929
3030 /* Transform SQL (version 1) config to SQL2 config
You can’t perform that action at this time.
0 commit comments