summaryrefslogtreecommitdiff
path: root/lib/web/auth/gitlab/index.js
diff options
context:
space:
mode:
authorSheogorath2018-04-09 22:27:17 +0200
committerSheogorath2018-04-10 16:10:34 +0200
commit735b806d5d738ee05509c413fee22dfeb5dfbe7c (patch)
tree6a2b336ab254e6f8892d61700fae8ad8721f5a11 /lib/web/auth/gitlab/index.js
parentbdb8631a7b99771990890db20b171618ef06c6e9 (diff)
Add check for noteId length
As we know the length of an UUID we can check if the base64 string of the provided UUID is long enough for a legacy base64 encoded nodeId and stop processing it in legacy mode, if it's not the case. This should make the ugly warning way less common. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'lib/web/auth/gitlab/index.js')
0 files changed, 0 insertions, 0 deletions