Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $id=Auth::guard("myuser")->id();
- $param=Myuser::find($id)->makeVisible("password")->password;
- return view("forms.form",[compact("input"),"param"=>$param]);
- $id=Auth::guard("myuser")->id();
- $param=Myuser::find($id)->makeVisible("password");
- $password=$param->password;
- $value=$request->password;
- Validator::extend("checkPass",function($attribute,$value,$password){
- if (!Hash::check($value,$password)){
- return false;
- }
- return true;
- });
Add Comment
Please, Sign In to add comment