Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
oser-frontend
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamza Touizrat
oser-frontend
Merge requests
!32
Modify inscription page
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Modify inscription page
modify-inscription-page
into
dev
Overview
3
Commits
10
Pipelines
0
Changes
6
Merged
Modify inscription page
Hamza Touizrat
requested to merge
modify-inscription-page
into
dev
Sep 19, 2019
Overview
3
Commits
10
Pipelines
0
Changes
6
Created by: chiahetcho
The bureau wanted this organisation of the sign up component
0
0
Merge request reports
Viewing commit
586fd886
Prev
Next
Show latest version
6 files
+
20
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Unverified
586fd886
Merge branch 'dev' into release/first-users
· 586fd886
florimondmanca
authored
Sep 21, 2018
src/app/core/auth/auth.service.ts
+
1
−
1
View file @ 586fd886
Edit in single-file editor
Open in Web IDE
Show full file
@@ -35,7 +35,7 @@ export class AuthService {
this
.
user$
=
new
BehaviorSubject
(
initialUser
);
}
login
(
username
:
string
,
password
:
string
)
{
login
(
username
:
string
,
password
:
string
)
:
Observable
<
boolean
>
{
return
this
.
http
.
post
<
any
>
(
this
.
loginUrl
,
{
username
:
username
,
password
:
password
}).
pipe
(
tap
(
data
=>
this
.
token
.
set
(
data
.
token
)),
map
(
data
=>
this
.
userAdapter
.
adapt
(
data
.
user
)),
Loading