furnace.auth.login: name of the realm is already set in the <login-realm> constructor
parent
7eec8621aa
commit
6b940cb972
|
@ -173,7 +173,6 @@ ARTICLE: "furnace.auth.example" "Furnace authentication example"
|
||||||
{ $code
|
{ $code
|
||||||
": <login-config> ( responder -- responder' )
|
": <login-config> ( responder -- responder' )
|
||||||
\"Factor website\" <login-realm>
|
\"Factor website\" <login-realm>
|
||||||
\"Factor website\" >>name
|
|
||||||
allow-registration
|
allow-registration
|
||||||
allow-password-recovery
|
allow-password-recovery
|
||||||
allow-edit-profile
|
allow-edit-profile
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
USING: accessors furnace.auth.login tools.test ;
|
||||||
|
IN: furnace.auth.login.tests
|
||||||
|
|
||||||
|
{ "Some realm" } [
|
||||||
|
f "Some realm" <login-realm> name>>
|
||||||
|
] unit-test
|
|
@ -57,7 +57,6 @@ IN: webapps.site-watcher
|
||||||
|
|
||||||
: <login-config> ( responder -- responder' )
|
: <login-config> ( responder -- responder' )
|
||||||
"SiteWatcher" <login-realm>
|
"SiteWatcher" <login-realm>
|
||||||
"SiteWatcher" >>name
|
|
||||||
allow-registration
|
allow-registration
|
||||||
allow-password-recovery
|
allow-password-recovery
|
||||||
allow-edit-profile
|
allow-edit-profile
|
||||||
|
|
|
@ -127,7 +127,6 @@ io.sockets.secure ;
|
||||||
|
|
||||||
: <login-config> ( responder -- responder' )
|
: <login-config> ( responder -- responder' )
|
||||||
"Todo list" <login-realm>
|
"Todo list" <login-realm>
|
||||||
"Todo list" >>name
|
|
||||||
allow-registration
|
allow-registration
|
||||||
allow-edit-profile
|
allow-edit-profile
|
||||||
allow-deactivation ;
|
allow-deactivation ;
|
||||||
|
|
|
@ -54,7 +54,6 @@ TUPLE: concatenative-website < dispatcher ;
|
||||||
|
|
||||||
: <login-config> ( responder -- responder' )
|
: <login-config> ( responder -- responder' )
|
||||||
"Factor website" <login-realm>
|
"Factor website" <login-realm>
|
||||||
"Factor website" >>name
|
|
||||||
allow-registration
|
allow-registration
|
||||||
allow-password-recovery
|
allow-password-recovery
|
||||||
allow-edit-profile
|
allow-edit-profile
|
||||||
|
|
Loading…
Reference in New Issue