Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
CTF
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grzegorz
CTF
Commits
1a51c73a
Commit
1a51c73a
authored
Apr 03, 2016
by
amazon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ip
parent
8d6d1e12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configuration.prod.yml
service/configuration.prod.yml
+2
-2
loginController.js
...esources/assets/statics/js/controllers/loginController.js
+2
-2
No files found.
service/configuration.prod.yml
View file @
1a51c73a
...
...
@@ -4,12 +4,12 @@ server:
-
type
:
http
port
:
8080
dbHost
:
52.
37.192.46
dbHost
:
52.
58.79.68
dbPort
:
27017
dbName
:
db
startupConfiguration
:
domainName
:
"
52.2
5.28.6
4"
domainName
:
"
52.2
8.244.2
4"
port
:
8080
schema
:
"
http"
...
...
service/src/main/resources/assets/statics/js/controllers/loginController.js
View file @
1a51c73a
...
...
@@ -13,7 +13,7 @@
$location
.
path
(
'/'
);
AuthenticationService
.
setCredentials
(
$scope
.
username
,
$scope
.
password
,
response
.
team
);
// redirect to additional external auth point
$window
.
location
.
href
=
"http://"
+
$scope
.
username
+
":"
+
$scope
.
password
+
"@52.2
5.28.6
4:8080/api/v1/auth"
;
$window
.
location
.
href
=
"http://"
+
$scope
.
username
+
":"
+
$scope
.
password
+
"@52.2
8.244.2
4:8080/api/v1/auth"
;
}
else
{
Materialize
.
toast
(
'Błąd logowania! Spróbuj jeszcze raz.'
,
5000
,
'toast-error'
);
$scope
.
dataLoading
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment