Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit c8e341b

Browse files
committed
Added note about laravel's default migrations for the username field
1 parent 1a4fc9b commit c8e341b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ If you'd like to use the users `samaccountname` to login instead, just change yo
104104
<input type="text" name="username" />
105105

106106
<input type="password" name="password" />
107-
107+
108+
> **Note**: If you're using the `username` input field, make sure you have the `username` field inside your users database
109+
table as well. By default, laravel's migrations use the `email` field.
110+
108111
Inside `config/adldap_auth.php`
109112

110113
'username_attribute' => ['username' => 'samaccountname'],

0 commit comments

Comments
 (0)