Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fltrail
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
fides
fltrail
Commits
dbfb03bf
Commit
dbfb03bf
authored
6 years ago
by
Maren Schulze
Browse files
Options
Downloads
Patches
Plain Diff
- added hotfix damit Maren sich einloggen kann
parent
074b234c
No related branches found
No related tags found
No related merge requests found
Pipeline
#126
failed
6 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gemeinsamforschen/src/main/java/unipotsdam/gf/process/ProjectCreationProcess.java
+14
-3
14 additions, 3 deletions
...in/java/unipotsdam/gf/process/ProjectCreationProcess.java
with
14 additions
and
3 deletions
gemeinsamforschen/src/main/java/unipotsdam/gf/process/ProjectCreationProcess.java
+
14
−
3
View file @
dbfb03bf
...
@@ -118,10 +118,21 @@ public class ProjectCreationProcess {
...
@@ -118,10 +118,21 @@ public class ProjectCreationProcess {
throws
UserDoesNotExistInRocketChatException
,
RocketChatDownException
{
throws
UserDoesNotExistInRocketChatException
,
RocketChatDownException
{
// todo implement
// todo implement
RocketChatUser
isLoggedIn
=
iCommunication
.
loginUser
(
user
);
RocketChatUser
isLoggedIn
=
null
;
try
{
isLoggedIn
=
iCommunication
.
loginUser
(
user
);
gfContexts
.
updateUserSessionWithRocketChat
(
req
,
isLoggedIn
);
gfContexts
.
updateUserSessionWithRocketChat
(
req
,
isLoggedIn
);
gfContexts
.
updateUserWithEmail
(
req
,
isLoggedIn
);
}
catch
(
Exception
e
)
{
return
iManagement
.
exists
(
user
);
System
.
out
.
println
(
"rocketchat funktioniert nicht ... mache trotzdem weiter"
);
}
finally
{
if
(
isLoggedIn
!=
null
)
{
gfContexts
.
updateUserWithEmail
(
req
,
isLoggedIn
);
return
iManagement
.
exists
(
user
);
}
else
{
gfContexts
.
updateUserWithEmail
(
req
,
user
);
return
iManagement
.
exists
(
user
);
}
}
}
}
public
void
deleteUser
(
User
user
)
throws
RocketChatDownException
,
UserDoesNotExistInRocketChatException
{
public
void
deleteUser
(
User
user
)
throws
RocketChatDownException
,
UserDoesNotExistInRocketChatException
{
...
...
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