Closed protocyber closed 3 years ago
I think I've found the problem.
By default, fortify login route is /login which does not contain orchid prefix.
The problem is this line in app.blade.php
<meta name="turbolinks-root" content="{{ Dashboard::prefix() }}">
After user click login, if credential is invalid, turbolinks makes two requests causing validation exception not displayed.
It has been answered by @tabuna here: https://github.com/orchidsoftware/platform/issues/1762
Describe the bug After I activate Fortify, everything is working fine except when I tried to enter invalid credentials, validation exception is not showing.
To Reproduce Steps to reproduce the behavior:
Install orchidsoftware/fortify Login via fortify route /login. Not via orchid's route /admin/login Enter invalid credentials Expected behavior Validation should return invalid credentials message.
Screenshots Not applicable
Desktop (please complete the following information): OS: Windows 10 Browser Google Chrome Version 91.0.4472.77 (Official Build) (64-bit)
Server (please complete the following information): Platfrom Version: 9.21.0 Laravel Version: 8.34.0 PHP Version: 7.3 Database: MySql Database Version: 5.7.24 - MySQL Community Server (GPL)