dstarcev
03/14/2017, 4:47 PMjava.lang.IllegalStateException: code must not be null
if getHeader
returns null val code = request.getHeader("X-Confirmation-Code")
if (code != null && codeAuthentication.isValidCode(phone, code)) {
codeAuthentication.deleteCode(phone)
return true
}