(email)
| 250 | } |
| 251 | |
| 252 | static checkEmailExists (email) { |
| 253 | return new Promise((resolve, reject) => $.ajax(`/auth/email/${encodeURIComponent(email)}`, { |
| 254 | cache: false, |
| 255 | success: resolve, |
| 256 | error (jqxhr) { return reject(jqxhr.responseJSON) }, |
| 257 | }, |
| 258 | )) |
| 259 | } |
| 260 | |
| 261 | static getNapervilleDomain () { |
| 262 | // it can be stu.naperville203.org or naperville203.org and there are no premium benefits directly so safe to check without @ |
no outgoing calls
no test coverage detected