Commit 9309a20 1 parent c305d43 commit 9309a20 Copy full SHA for 9309a20
File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ Laravel 11] ( https://github.com/wifidog/wifidog-auth-laravel/actions/workflows/laravel-11.yml/badge.svg )] ( https://github.com/wifidog/wifidog-auth-laravel/actions/workflows/laravel-11.yml )
6
6
[ ![ LICENSE] ( https://img.shields.io/badge/license-Anti%20996-blue.svg )] ( https://github.com/wifidog/wifidog-auth-laravel/blob/master/LICENSE )
7
7
8
- This project provides a auth server for wifidog. For API details, please see the [ WiFiDog Protocol V1] ( https://github.com/wifidog/wifidog-auth-laravel/wiki ) .
8
+ This project provides a auth server for wifidog, following [ WiFiDog Protocol V1] ( https://github.com/wifidog/wifidog-auth-laravel/wiki ) .
9
9
10
10
## Features
11
11
12
12
- Pages
13
13
- /login
14
14
- /logout
15
15
- /portal
16
- - /messages OR gw \_ message.php
16
+ - /messages
17
17
- Apis
18
18
- /ping
19
19
- /auth
Original file line number Diff line number Diff line change 32
32
</label >
33
33
</div >
34
34
35
- <div class =" flex items-center justify-end mt-4" >
35
+ <div class =" flex items-center justify-between mt-4" >
36
+ @if (Route:: has (' register' ) )
37
+ <a
38
+ href =" {{ route (' register' ) } }"
39
+ class =" underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800"
40
+ >
41
+ Register?
42
+ </a >
43
+ @endif
44
+
36
45
@if (Route:: has (' password.request' ) )
37
46
<a class =" underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href =" {{ route (' password.request' ) } }" >
38
47
{{ __ (' Forgot your password?' ) } }
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ public function testLoginScreenCanBeRendered(): void
15
15
$ response = $ this ->get ('/login ' );
16
16
17
17
$ response ->assertStatus (200 );
18
+ $ response ->assertSeeText ('Log in ' );
19
+ $ response ->assertSeeText ('Register? ' );
18
20
}
19
21
20
22
public function testUsersCanAuthenticateUsingTheLoginScreen (): void
You can’t perform that action at this time.
0 commit comments