Hi everyone,
I’m currently deploying Krayin CRM on a shared hosting environment, and I’ve successfully reached the admin login page at:
/admin/login
However, I’m facing an issue where I cannot log in, even though I’ve manually created a user in the database.
What I’ve done so far:
Verified that the login uses:
auth()->guard('user')->attempt(request(['email', 'password']))
→ so it uses email and password
Created a user manually in the users table with:
email: admin@sentrakarpet.com
status: 1
role_id: 1
password: bcrypt hash (also tried multiple hashes)
Confirmed that:
The users table is being used (no admins table exists)
The login form is indeed /admin/login
Status is active (not 0)
Issue:
Still getting:
“The credentials do not match our records.”
What I’ve already tried:
Using known valid bcrypt hash (password)
Updating password multiple times
Ensuring no NULL values in required fields
Confirming login controller logic (no extra conditions except status)
Environment constraints:
Shared hosting (some PHP functions like shell_exec are disabled)
Cannot use php artisan tinker
Question:
Is there any additional requirement for authentication in Krayin (e.g. hidden fields, guards, hashing differences)?
Does Krayin use a custom authentication logic beyond standard Laravel Auth::attempt?
Is there a default seeder or recommended way to create the first admin user?
Any help would be greatly appreciated. Thanks in advance!