You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making this starter kit available. I'm new to Lavarel so forgive me if I'm missing something obvious, but how does one change the root password as root without modifying line 122 of /app/User.php to something like the following?
// Protect the root user from edits.
if ('root' == $this->username && Auth::user()->id != $this->id) {
return false;
}
And if the root user record is opened up for potential changes of all data, this could lead to the root username being changed, which is used in places such as the above snippet. What am I missing please?
The text was updated successfully, but these errors were encountered:
You are not missing anything. Infact you found a pretty embarrassing bug....
Just fixed it, thanks for submitting the issue. Totally did not see that one coming.
Cheers mate, Let me know if you have any other issues or questions.
Thanks for making this starter kit available. I'm new to Lavarel so forgive me if I'm missing something obvious, but how does one change the root password as root without modifying line 122 of /app/User.php to something like the following?
And if the root user record is opened up for potential changes of all data, this could lead to the root username being changed, which is used in places such as the above snippet. What am I missing please?
The text was updated successfully, but these errors were encountered: