mirror of
https://github.com/google/nomulus
synced 2026-01-09 07:33:42 +00:00
Make javadoc <p> style guide compliant
This led to confusion for an open source contributor about how to format code. We don't want to be like, "do as I say, not as I do." https://google.github.io/styleguide/javaguide.html#s7.1.2-javadoc-paragraphs ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122589700
This commit is contained in:
@@ -56,9 +56,10 @@ public final class XsrfTokenManager {
|
||||
|
||||
/**
|
||||
* Generate an xsrf token for a given scope using the logged in user or else no user.
|
||||
* <p>
|
||||
* If there is no user, the entire xsrf check becomes basically a no-op, but that's ok because any
|
||||
* callback that doesn't have a user shouldn't be able to access any per-user resources anyways.
|
||||
*
|
||||
* <p>If there is no user, the entire xsrf check becomes basically a no-op, but that's ok because
|
||||
* any callback that doesn't have a user shouldn't be able to access any per-user resources
|
||||
* anyways.
|
||||
*/
|
||||
public static String generateToken(String scope) {
|
||||
return generateToken(scope, getLoggedInEmailOrEmpty());
|
||||
|
||||
Reference in New Issue
Block a user