Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a middleware for authenticated users to be redirected to the dashboard #27

Merged
merged 3 commits into from
Jan 4, 2024

Conversation

jovialcore
Copy link
Owner

create a middleware for authenticated users to be redirected to the dashboard once they access the /not-an-admin route

codejutsu1 and others added 3 commits January 3, 2024 21:54
…ashboard once they access the /not-an-admin route
Merge all changes from main to dev
Middleware for Authenticated users(Admin).
@jovialcore jovialcore merged commit 905e8f6 into main Jan 4, 2024
1 check passed
jovialcore added a commit that referenced this pull request Jan 10, 2024
* create a middleware for authenticated users to be redirected to the dashboard once they access the /not-an-admin route (#27)

Co-authored-by: codejutsu1 <[email protected]>

* moved the store company data validation rules to a request file

---------

Co-authored-by: Chidiebere Chukwudi <[email protected]>
jovialcore added a commit that referenced this pull request Jan 10, 2024
* create a middleware for authenticated users to be redirected to the dashboard once they access the /not-an-admin route

* create a name method in the route to set route accessor to 'admin.' (#28)

* updated readme for contribution

* Refactor/store company data validation (#32)

* create a middleware for authenticated users to be redirected to the dashboard once they access the /not-an-admin route (#27)

Co-authored-by: codejutsu1 <[email protected]>

* moved the store company data validation rules to a request file

---------

Co-authored-by: Chidiebere Chukwudi <[email protected]>

---------

Co-authored-by: codejutsu1 <[email protected]>
Co-authored-by: Dunu Daniel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants