Move #submitLogin method from controller to view.
It deals with extracting data from form, and the form is described in view. So it really is the specifics that should belong to view. So the view now does the extracting of data and then calls Auth.login().
Loading
Please register or sign in to comment