ruby -v - ruby 3.2.2 rails -v - Rails 7.1.2 node -v - v21.4.0 yarn -v - 1.22.21 bootsrap 5 I designed a login and a home page using bootstrap and view engine in ruby on rails. I learned how to validate the username and password at the server side with a predefined value. I secured the access to the home page by displaying an incorrect username or password message on the login page if the credentials were wrong. I added a signout button on the home page that would redirect to the login page when clicked. I ensured that the session handling worked properly and that the signout would not happen unless the user pressed the signout button. I also made sure that the home page would not be loaded on pressing the back button after signing out.
Athikajishida/Authentication_From_Scratch
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|