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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How add a custom field to Laravel 5.4 default login. LoginController.php
How add a custom field to Laravel 5.4 default login controller.
In this php example (app/Http/Controllers/Auth/LoginController.php) my model is called Client
and the custom field for login validation is status. (Client->status)
Add in your resources/lang/en/auth.php file :
'failed_status' => 'Your account is inactive yet. Please confirm your e-mail address.',
If you are developing React native based Android App and using XIAOMI/MIUI Device, this tips might help you to get rid some headache when debugging the app
Enabling Developer Menu
To enable Developer Menu, you need to tag 7 times on MIUI Version under About Phone Setting menu instead of Build Number.
The Developer Menu can be found on Additional Settings
Can't Install Debug APK? "...Failed to establish session"?
enable developer mode - In your phone, go to Settings, About phone and click on MIUI version 7 times. You’ll see a pop up which says you are a developer now.
Go back to Settings, Additional settings, Developer options and enable USB Debugging.
Connect your phone to your PC/Mac and on the phone authorize your computer
tmux new -s NAME_HERE - Create and attach to a new session named NAME_HERE.
CTRL-b, d - Detach (i.e. exit) from the currently-opened tmux session (alternatively, tmux detach). Note, this means press and hold CTRL, press b, release both, press d.
tmux ls - Show list of tmux sessions.
tmux a - Attach to the previously-opened tmux session.
tmux a -t NAME_HERE - Attach to the tmux session named NAME_HERE.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters