Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Url not Updating

Hi guys,

I have problem with my URL, I have login page when i access in my URL looks project/login when i have a successful login it redirects me to dashboard but my url is still on project/login it should be project/dashboard

<?php

                    if($find_user){

                    $this->forward('dashboard');
                    }
                    else{

                    $message = 'Invalid email/password combination';
                    self::_LFerror($message);

                    return false;
                    }


36.4k
Accepted
answer

Hey man

You should used method

     return $this->response->redirect('dashboard');

@Thiện big big thanks man :)