File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
views/components/elements/forms Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7
7
"build" : " ./node_modules/.bin/webpack" ,
8
8
"dev-client" : " ./node_modules/.bin/webpack-dev-server --port 3002 --content-base public/" ,
9
9
"fullStart" : " ./node_modules/.bin/webpack && node ./bin/start" ,
10
- "debug" : " node $NODE_DEBUG_OPTION ./bin/start"
10
+ "debug" : " node $NODE_DEBUG_OPTION ./bin/start" ,
11
+ "test" : " jest"
11
12
},
12
13
"repository" : {
13
14
"type" : " git" ,
113
114
},
114
115
"devDependencies" : {
115
116
"babel-plugin-transform-async-to-generator" : " ^6.24.1" ,
117
+ "jest" : " ^22.4.2" ,
116
118
"react-hot-loader" : " ^3.0.0-beta.7" ,
119
+ "servicebot-client" : " ^1.0.3" ,
117
120
"supertest" : " ^3.0.0" ,
118
121
"tape" : " ^4.8.0" ,
119
- "uglifyjs-webpack-plugin" : " ^1.0.1 " ,
122
+ "uglifyjs-webpack-plugin" : " ^1.2.4 " ,
120
123
"webpack-dev-server" : " ^1.14.1"
121
124
}
122
125
}
Original file line number Diff line number Diff line change @@ -183,14 +183,16 @@ class Login extends React.Component {
183
183
< button onClick = { this . handleLogin } type = 'submit'
184
184
className = "btn btn-raised btn-lg btn-primary btn-block" > Sign in
185
185
</ button >
186
+ < p className = "sign-up-link" >
187
+ < Link to = { { pathname : "/forgot-password" , state : { fromLogin : false } } } > Forgot
188
+ Password</ Link >
189
+ </ p >
186
190
{ ( this . props . options && this . props . options . allow_registration . value == 'true' ) &&
187
191
< p className = "sign-up-link" > Don't have an account?
188
192
< span > < Link to = { {
189
193
pathname : "/signup" ,
190
194
state : { fromLogin : true }
191
- } } > Sign up here</ Link > or </ span >
192
- < Link to = { { pathname : "/forgot-password" , state : { fromLogin : false } } } > Forgot
193
- Password</ Link >
195
+ } } > Sign up here</ Link > </ span >
194
196
</ p >
195
197
}
196
198
</ form >
You can’t perform that action at this time.
0 commit comments