You are on page 1of 3

LARAVEL AUTH

PRODUCT DESIGN SPECIFICATION

Version 1.0

01/10/2017

VERSION HISTORY
Version Implemented Revision Approved Approval Reason
# By Date By Date
1.0 <Author name> <mm/dd/yy> <name> <mm/dd/yy> Initial Design Definition
draft
Web Application Specifications

General Description

This is to be a custom auth login system for laravel using completely custom yet basic code.

Requirements

Laravel

Controllers

Auth/RegisterController

indexAction (Display Form)

fields

first_name

last_name

email

password

password_confirm

recaptcha (https://www.google.com/recaptcha/intro/)

validate form fields (jquery) (frontend) (basic validation messages)

processAction (Process Form)

validate form fields (laravel form requests) (backend) (basic validation messages)

recaptcha php code

check for existing user (display email already registered!)

send activation email (display activation email sent!)

Auth/LoginController

indexAction (Display Form)

fields

email

password

validate form fields with (jquery) (frontend basic)

processAction (Process Form)

validate form fields with (laravel form requests) (backend basic)

check if user valid credentials

redirect to example logged page (protected page)

Page 2 of 3
[Insert appropriate disclaimer(s)]
Web Application Specifications

Auth/ForgotController

indexAction (Display Form)

fields

email

validate form fields with (jquery) (frontend basic)

processAction (Process Form)

validate form fields with (laravel form requests) (backend basic)

check if user valid credentials

send reset password email (display reset password email sent!)

generate forgot password unique token (pass with email link back to site to reset
password)

Auth/ResetController

indexAction (Display Form)

fields

token

email

password

password_condfirm

validate form fields with (jquery) (frontend basic)

processAction (Process Form)

validate form fields with (laravel form requests) (backend basic)

check if token is valid (needs to have forgot password tokens stored in database)
(message)

send reset password now reset email (display reset password confirm email sent!)

Auth/LogoutController

processAction (logout session)

redirect to home

Page 3 of 3
[Insert appropriate disclaimer(s)]