Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Richard van der Hoff's avatar
    1890cfcf
    Inline issue_access_token (#5659) · 1890cfcf
    Richard van der Hoff authored
    this is only used in one place, so it's clearer if we inline it and reduce the
    API surface.
    
    Also, fixes a buglet where we would create an access token even if we were
    about to block the user (we would never return the AT, so the user could never
    use it, but it was still created and added to the db.)
    1890cfcf
    History
    Inline issue_access_token (#5659)
    Richard van der Hoff authored
    this is only used in one place, so it's clearer if we inline it and reduce the
    API surface.
    
    Also, fixes a buglet where we would create an access token even if we were
    about to block the user (we would never return the AT, so the user could never
    use it, but it was still created and added to the db.)