This repository was archived by the owner on Jul 7, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
src/amplify/components/auth Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /**
2
2
/dist /
3
3
src /aws-exports.js
4
+ .awsmobilejs
4
5
npm-debug.log *
5
6
yarn-debug.log *
6
7
yarn-error.log *
Original file line number Diff line number Diff line change 6
6
"author" : " Richard Zhang <richardzcode@gmail.com>" ,
7
7
"private" : true ,
8
8
"scripts" : {
9
- "dev" : " webpack-dev-server --inline -- progress --config build/webpack.dev.conf.js" ,
9
+ "dev" : " webpack-dev-server --progress --config build/webpack.dev.conf.js" ,
10
10
"start" : " npm run dev" ,
11
11
"test" : " npm run unit" ,
12
12
"lint" : " eslint --ext .js,.vue src test/unit/specs" ,
72
72
" last 2 versions" ,
73
73
" not ie <= 8"
74
74
]
75
- }
75
+ }
Original file line number Diff line number Diff line change 17
17
<h1 :style =" theme.header" v-if =" confirmView" >Confirm Sign In</h1 >
18
18
<div v-if =" !confirmView" >
19
19
<div :style =" theme.inputRow" >
20
- <input :style =" theme.input" v-model =" username" placeholder =" Username" autofocus />
20
+ <input :style =" theme.input" v-model =" username" placeholder =" Username" autofocus v-on:keyup.enter = " signIn " />
21
21
</div >
22
22
<div :style =" theme.inputRow" >
23
- <input :style =" theme.input" v-model =" password" type =" password" placeholder =" Password" />
23
+ <input :style =" theme.input" v-model =" password" type =" password" placeholder =" Password" v-on:keyup.enter = " signIn " />
24
24
</div >
25
25
<div :style =" theme.actionRow" >
26
26
<button :style =" theme.action" v-on:click =" signIn" :disabled =" !username || !password" >Sign In</button >
27
27
</div >
28
28
</div >
29
29
<div v-if =" confirmView" >
30
30
<div :style =" theme.inputRow" >
31
- <input :style =" theme.input" v-model =" code" placeholder =" Code" />
31
+ <input :style =" theme.input" v-model =" code" placeholder =" Code" v-on:keyup.enter = " confirm " />
32
32
</div >
33
33
<div :style =" theme.actionRow" >
34
34
<button :style =" theme.action" v-on:click =" confirm" :disabled =" !code" >Confirm</button >
You can’t perform that action at this time.
0 commit comments