Toggle navigation
Toggle navigation
This project
Loading...
Sign in
황선혁
/
weather_chatbot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Eric Whale
2022-05-22 19:43:58 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5ab0d0f1751a4bfa42401b4e24356fc5b0f43bc8
5ab0d0f1
1 parent
a79121ae
Edit instance name pwd->password
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
client/src/lib/auth.js
client/src/lib/auth.js
View file @
5ab0d0f
const
axios
=
require
(
"axios"
).
default
;
export
const
handleLogin
=
(
email
,
p
w
d
)
=>
{
console
.
log
(
email
,
p
w
d
);
export
const
handleLogin
=
(
email
,
p
asswor
d
)
=>
{
console
.
log
(
email
,
p
asswor
d
);
axios
.
post
(
"http://localhost:8000/api/login"
,
{
email
,
p
w
d
,
p
asswor
d
,
})
.
then
(
function
(
response
)
{
console
.
log
(
"login request sent"
);
...
...
Please
register
or
login
to post a comment