If I place a .htaccess file on the server (in project root directory) with this code in it:
ErrorDocument 401 https://mydomain.com/
ErrorDocument 403 https://mydomain.com/
ErrorDocument 404 https://mydomain.com/
ErrorDocument 500 https://mydomain.com/
It breaks the UserSpice login system. When I try to login, then I just get the message:
There was an error with your form. Please go back and try again. Please note that submitting the form by refreshing the page will cause an error.
If this continues to happen, please contact the administrator.
However, if I've already logged in, and put in that .htaccess file, it all works fine, UNTIL I log out and try to login again... (then I get that message)
Any ideas?
ErrorDocument 401 https://mydomain.com/
ErrorDocument 403 https://mydomain.com/
ErrorDocument 404 https://mydomain.com/
ErrorDocument 500 https://mydomain.com/
It breaks the UserSpice login system. When I try to login, then I just get the message:
There was an error with your form. Please go back and try again. Please note that submitting the form by refreshing the page will cause an error.
If this continues to happen, please contact the administrator.
However, if I've already logged in, and put in that .htaccess file, it all works fine, UNTIL I log out and try to login again... (then I get that message)
Any ideas?