Updated test
This commit is contained in:
parent
adf380dc54
commit
764829b01a
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ Future<Map<String, String>> verifier(String? username, String? password) async {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future wireAuth(Angel app) async {
|
Future wireAuth(Angel app) async {
|
||||||
auth.strategies['local'] = LocalAuthStrategy(verifier);
|
//auth.strategies['local'] = LocalAuthStrategy(verifier);
|
||||||
|
auth.strategies['local'] = LocalAuthStrategy(verifier, forceBasic: true, realm: 'test');
|
||||||
await app.configure(auth.configureServer);
|
await app.configure(auth.configureServer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue