File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33use URL ;
44use URI ;
55use Input ;
6+ use Bundle ;
67use Request ;
78use Redirect ;
89use Feather \Auth ;
@@ -68,29 +69,29 @@ public function to_previous($default = null)
6869 *
6970 * @return object
7071 */
71- public static function after_logout ()
72+ public function after_logout ()
7273 {
73- return $ this ->for_auth (Config::get ('feather: auth.logout_url ' ));
74+ return $ this ->for_auth (Config::get ('feather: db. auth.logout_url ' ));
7475 }
7576
7677 /**
7778 * Create a redirect response before a registration.
7879 *
7980 * @return object
8081 */
81- public static function before_register ()
82+ public function before_register ()
8283 {
83- return $ this ->for_auth (Config::get ('feather: auth.register_url ' ));
84+ return $ this ->for_auth (Config::get ('feather: db. auth.register_url ' ));
8485 }
8586
8687 /**
8788 * Create a redirect response before a login.
8889 *
8990 * @return object
9091 */
91- public static function before_login ()
92+ public function before_login ()
9293 {
93- return $ this ->for_auth (Config::get ('feather: auth.login_url ' ));
94+ return $ this ->for_auth (Config::get ('feather: db. auth.login_url ' ));
9495 }
9596
9697 /**
@@ -107,7 +108,7 @@ protected function for_auth($url)
107108 '{token} ' => Auth::online () ? Auth::user ()->authenticator_token : null
108109 );
109110
110- if (Config::get ('feather: auth.driver ' ) == 'internal ' )
111+ if (Config::get ('feather: db. auth.driver ' ) == 'internal ' )
111112 {
112113 $ url = URL ::to_route ('feather ' );
113114 }
You can’t perform that action at this time.
0 commit comments