git rm --cached -- '.DS_Store'
git commit
git checkout -b myWork
Auth::logoutOtherDevices('password');
public function login(Request $request)
{
$phone = $request->phone;
$user = User::where('phone', $phone)->first();
if ($user) {
Auth::login($user, true);
Auth::logoutOtherDevices($request->password);
return redirect()->route('catalog.index');
}
else {
return redirect()->back();
}
}
console.dir(location)
let today = [yearToday, monthToday, dayToday].map(s => s.padStart(2, '0')).join('-')