Skip to content

Commit a2d987d

Browse files
author
Rubens F. N. da Silva
committed
Updated flag management to allow request to routers without strategies
1 parent b0c05cf commit a2d987d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cls/Frontier/Authentication/Manager.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Property Response As %CSP.Response [ Private ];
1111

1212
Property ScopeSeparator As %String [ InitialExpression = " " ];
1313

14-
Property Verified As %Boolean [ InitialExpression = 0 ];
14+
Property Verified As %Boolean [ InitialExpression = 1 ];
1515

1616
Method %OnNew(session As %CSP.Session, request As %CSP.Request, response As %CSP.Response) As %Status
1717
{
@@ -28,6 +28,7 @@ Method ScopeSeparatorSet(value As %String) As %Status [ Final, Internal, Private
2828

2929
Method AddStrategy(strategy As Frontier.Authentication.Strategy) As %Status
3030
{
31+
set ..Verified = 0
3132
$$$QuitOnError(..Strategies.Insert(strategy))
3233
return $$$OK
3334
}

0 commit comments

Comments
 (0)