File tree Expand file tree Collapse file tree 4 files changed +22
-3
lines changed
Components/Auth/Controllers Expand file tree Collapse file tree 4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ public function boot(Router $router)
41
41
__DIR__ .'/Database/Migrations ' => database_path ('migrations ' ),
42
42
__DIR__ .'/Database/Seeders ' => database_path ('seeds ' ),
43
43
], 'migrations ' );
44
+
45
+ $ this ->publishes ([
46
+ __DIR__ .'/Components/Auth/Views ' => base_path ('resources/views/backend/auth ' ),
47
+ ], 'views ' );
44
48
}
45
49
46
50
/**
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class Registrar {
13
13
/**
14
14
* the laravel backend version
15
15
*/
16
- const VERSION = '1.0.22 ' ;
16
+ const VERSION = '1.0.23 ' ;
17
17
const VERSION_NAME = 'Alpha ' ;
18
18
19
19
/**
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ public function __construct()
27
27
*/
28
28
public function getLogin ()
29
29
{
30
+ if (view ()->exists ('backend.auth.login ' ))
31
+ {
32
+ return view ('backend.auth.password ' );
33
+ }
34
+
30
35
return view ('authManager::login ' );
31
36
}
32
37
Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ public function __construct()
33
33
*/
34
34
public function getEmail ()
35
35
{
36
- return view ('authManager.password ' );
36
+ if (view ()->exists ('backend.auth.password ' ))
37
+ {
38
+ return view ('backend.auth.password ' );
39
+ }
40
+
41
+ return view ('authManager::password ' );
37
42
}
38
43
39
44
/**
@@ -71,7 +76,12 @@ public function getReset($token = null)
71
76
throw new NotFoundHttpException ;
72
77
}
73
78
74
- return view ('authManager.reset ' )->with ('token ' , $ token );
79
+ if (view ()->exists ('backend.auth.reset ' ))
80
+ {
81
+ return view ('backend.auth.password ' );
82
+ }
83
+
84
+ return view ('authManager::reset ' )->with ('token ' , $ token );
75
85
}
76
86
77
87
/**
You can’t perform that action at this time.
0 commit comments