Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Madis Cyber
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Soluris
Madis Cyber
Commits
6622dd17
Commit
6622dd17
authored
2 years ago
by
Jonathan Foucher
Browse files
Options
Downloads
Patches
Plain Diff
composer update + phpstan fix
parent
bd177801
No related branches found
No related tags found
No related merge requests found
Pipeline
#40342
passed
2 years ago
Stage: build
Stage: test
Stage: quality-assurance
Changes
2
Pipelines
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/Http/Controllers/Auth/LoginController.php
+1
-1
1 addition, 1 deletion
app/Http/Controllers/Auth/LoginController.php
composer.lock
+515
-335
515 additions, 335 deletions
composer.lock
with
516 additions
and
336 deletions
app/Http/Controllers/Auth/LoginController.php
+
1
−
1
View file @
6622dd17
...
...
@@ -60,7 +60,7 @@ public function impersonate(Request $request)
/** @var User $currentUser */
$currentUser
=
Auth
::
user
();
if
(
$currentUser
&&
$currentUser
->
active
&&
User
::
ROLE_ADMIN
===
$currentUser
->
role
)
{
if
(
$currentUser
->
active
&&
User
::
ROLE_ADMIN
===
$currentUser
->
role
)
{
/** @var User $user */
$user
=
User
::
find
(
$id
);
if
(
$user
->
active
)
{
...
...
This diff is collapsed.
Click to expand it.
composer.lock
+
515
−
335
View file @
6622dd17
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment