skip to Main Content

This password does not use the Bcrypt algorithm in laravel 10

I use: public function postRegister(Request $request){ $request->validate([ 'Email' => 'required|unique:users,Email', 'Password' => ['required'], ]); $user = new User; $user->Email = $request->Email; $user->Password = Hash::make($request->password); $user->save(); auth()->login($user); return redirect()->route('user.home'); } for my register function in laravel 10. It worked correctly and…

VIEW QUESTION

Php versions – npm ERR! path \wsl.localhostUbuntu-22.04homejdoeDevProjectslitenotesnode_modules.binautoprefixer

Presently, I am attempting to create a PHP laravel app and install some nodejs dependencies on wsl-2 but am getting the following errors (cf. https://www.linkedin.com/learning/laravel-9-0-essential-training). FYI, I have installed nodejs v18.16.0: jdoe@Grieg:~/DevProjects/litenotes$ curl -s https://laravel.build/litenotes | bash ... jdoe@Grieg:~/DevProjects/litenotes$ ./vendor/bin/sail…

VIEW QUESTION

Can't connect to phpmyadmin mariadb windows 10 laravel sail

I'm having trouble connecting to my MariaDB database via my Laravel Sail docker environment through PHPmyadmin on Windows 10. Here's my docker compose file, what am I missing: services: laravel.test: build: context: ./vendor/laravel/sail/runtimes/8.1 dockerfile: Dockerfile args: WWWGROUP: '${WWWGROUP}' image: sail-8.1/app…

VIEW QUESTION

How to seed to test database in laravel

I can successfully seed records to my normal database. Now I am focusing on tests and the first step is to add 'test database'. How can I seed to that specific database other than the normal database? `<server name="APP_ENV" value="testing"/>…

VIEW QUESTION
Back To Top
Search