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
!30
Dev pages projet
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Dev pages projet
dev_pages_projet
into
dev
Overview
0
Commits
8
Pipelines
0
Changes
6
Open
Hamza Touizrat
requested to merge
dev_pages_projet
into
dev
6 years ago
Overview
0
Commits
8
Pipelines
0
Changes
6
Created by: fractalpatate
0
0
Merge request reports
Viewing commit
f3f1a4d8
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
f3f1a4d8
Merge pull request #27 from oser-cs/release/first-users
· f3f1a4d8
Florimond Manca
authored
6 years ago
Post-release fixes
src/app/core/auth/auth.service.ts
+
1
−
1
View file @ f3f1a4d8
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