Updated test

This commit is contained in:
Thomas Hii 2023-05-31 16:25:42 +00:00
parent adf380dc54
commit 764829b01a

View file

@ -24,7 +24,8 @@ Future<Map<String, String>> verifier(String? username, String? password) 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);
}