Skip to content

Commit fda4587

Browse files
progvaljwheare
authored andcommitted
Fix title hierarchy + mention dependency on standard-replies
1 parent 53ec0cd commit fda4587

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

extensions/account-registration.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ be in use by server implementations to varying degrees. However, future
4040
extensions to the specification might be proposed given a broad enough
4141
consensus.
4242

43+
## Architecture
44+
45+
### Dependencies
46+
47+
This specification uses [standard replies][] framework.
48+
4349
### Capability
4450

4551
This specification adds the `draft/account-registration` capability, whose
@@ -183,9 +189,9 @@ Sent by the server in response to the end of connection registration (e.g.
183189
to `USER`, `NICK`, or `CAP END`) if connection registration cannot proceed
184190
unless the user logs into an account with SASL.
185191

186-
# Examples
192+
## Examples
187193

188-
## While connected
194+
### While connected
189195

190196
A client with nick `tester` requests registration of an account named `test`:
191197

@@ -202,7 +208,7 @@ The client then inputs the code sent by the server:
202208
C: VERIFY test 39gvcdg4myvnmdcfhvd6exsv4n
203209
S: VERIFY SUCCESS test :Account successfully registered
204210

205-
## `before-connect`
211+
### `before-connect`
206212

207213
A client connects and asks to register an account named after its current nick:
208214

@@ -228,7 +234,7 @@ The client can then proceed with the connection:
228234
S: 001 tester :Welcome to the IRC network
229235
...
230236

231-
## With no email or verification
237+
### With no email or verification
232238

233239
C: CAP LS 302
234240
S: CAP * LS :draft/account-registration=before-connect
@@ -238,7 +244,7 @@ The client can then proceed with the connection:
238244
C: REGISTER * * hunter2
239245
S: REGISTER SUCCESS tester :Account successfully registered
240246

241-
## With `email-required`, but not verified
247+
### With `email-required`, but not verified
242248

243249
C: CAP LS 302
244250
S: CAP * LS :draft/account-registration=before-connect,email-required
@@ -248,7 +254,7 @@ The client can then proceed with the connection:
248254
C: REGISTER * [email protected] hunter2
249255
S: REGISTER SUCCESS tester :Account successfully registered
250256

251-
# Client considerations
257+
## Client considerations
252258

253259
This section is non-normative.
254260

@@ -262,7 +268,7 @@ prevent or discourage users from setting passwords so long they may not fit
262268
in these messages. 300 bytes should be a safe reasonable limit.
263269

264270

265-
# Server considerations
271+
## Server considerations
266272

267273
This section is non-normative.
268274

@@ -278,3 +284,5 @@ Servers should ensure that if they allow REGISTER before connection registration
278284
this functionality cannot be used to bypass any authentication restrictions
279285
defined in the server configuration, e.g. requirements that clients send
280286
a server password with PASS.
287+
288+
[standard replies]: ../extensions/standard-replies.html

0 commit comments

Comments
 (0)